<style>
    .row-bettween {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        /* justify-content: space-between; */
    }

    .top-item {
        flex: 1;
        padding: 10px 20px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(to right, #ffe9e8, #fffbfb);
        font-size: 24px;
        border-radius: 10px;
        margin-left: 20px;
        margin-bottom: 10px;
        min-width: 200px;

    }

    .top-item:nth-child(1) {
        background: linear-gradient(to right, #ffe9e8, #fffbfb);
    }

    .top-item:nth-child(2) {
        background: linear-gradient(to right, #f7ebff, #fffbfb);
    }

    .top-item:nth-child(3) {
        background: linear-gradient(to right, #e7ebff, #fffbfb);
    }

    .top-item:nth-child(4) {
        background: linear-gradient(to right, #ebfff6, #fffbfb);
    }

    .top-item:nth-child(5) {
        background: linear-gradient(to right, #ffe9e8, #fffbfb);
    }

    .top-item span {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .tag-icon {
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 50%;
    }

    .top-item:nth-child(1) .tag-icon {
        background-color: #ff0000;
    }

    .top-item:nth-child(2) .tag-icon {
        background-color: #8252e9;
    }

    .top-item:nth-child(3) .tag-icon {
        background-color: #0dcaf0;
    }

    .top-item:nth-child(4) .tag-icon {
        background-color: #45b369;
    }

    .top-item:nth-child(5) .tag-icon {
        background-color: #ff0000;
    }

    .tag-icon i {
        color: #fff;
        font-size: 16px;
    }

    .row-center {
        display: flex;
        align-items: center;
    }

    .row-flex {
        display: flex;
    }

    .matter-box {
        padding: 10px;
        border-radius: 10px;
        background-color: #fff;
        flex: 1;
        min-width: 500px;
        margin-bottom: 20px;
    }

    .tag-red {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .tag-red i {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 5px solid #ff0000;
        margin-right: 10px;
    }

    .matter-ipt {
        padding: 5px 10px;
        border-bottom: 1px solid #f1f1f1;
        margin-left: 20px;
        min-width: 200px;
        margin-bottom: 5px;
        justify-content: space-between;
    }

    .matter-ipt span {
        color: #ff0000;
    }

    .quick {
        margin-right: 20px;
        font-size: 14px;
        text-align: center;
        margin-left: 30px;
    }

    .quick i {
        font-size: 30px;
        color: #ff0000;
        margin-bottom: 5px;
    }

    .table-box {
        /* flex: 1; */
        margin-left: 40px;
    }

    .table-box-th {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
    }

    .table-box-th div {
        width: 200px;
        height: 40px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ecebeb;
    }

    .table-box-th:nth-child(1) div {
        border-right: 1px solid #ccc;
    }

    .table-box-th:nth-child(2) div {
        border-right: 1px solid #ccc;
    }


    .table-box-tr {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
    }

    .table-box-tr div {
        width: 200px;
        height: 60px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
    }

    .table-box-tr:nth-child(1) div {
        border-right: 1px solid #ccc;
    }

    .table-box-tr:nth-child(2) div {
        border-right: 1px solid #ccc;
    }
</style>

<div class="row row-bettween">
    <div class="top-item  ">
        <div class="shop-num">
            <span>门店总数</span>
            <div>{$shopsum}</div>
        </div>
        <div class="tag-icon">
            <i class="fa fa-bookmark"></i>
        </div>
    </div>
    <div class="top-item ">
        <div class="shop-num">
            <span>服务商总数</span>
            <div>{$shopsum}</div>
        </div>
        <div class="tag-icon">
            <i class="fa fa-credit-card"></i>
        </div>
    </div>
    <div class="top-item ">
        <div class="shop-num">
            <span>员工总数</span>
            <div>{$staffsum}</div>
        </div>
        <div class="tag-icon">
            <i class="fa fa-user-o"></i>
        </div>
    </div>
    <div class="top-item  ">
        <div class="shop-num">
            <span>本日活跃用户</span>
            <div>{$todayuserlogin}</div>
        </div>
        <div class="tag-icon">
            <i class="fa fa-user-plus"></i>
        </div>
    </div>
    <div class="top-item  ">
        <div class="shop-num">
            <span>本日实际收款金额</span>
            <div>{$ordersum}</div>
        </div>
        <div class="tag-icon">
            <i class="fa fa-cny"></i>
        </div>
    </div>
</div>
<div id="map" style="width: 100%; height: 600px;margin-top: 20px;"></div>
<div class="row-flex">
    <div class="matter-box" style="margin-right: 30px;">
        <div class="tag-red">
            <i></i>
            待处理事项
        </div>
        <div class="row-center matter-cell">
            <div class="row-center matter-ipt">
                <div>待审核门店</div>
                <div><span>{$shop_1}</span> ></div>
            </div>
            <div class="row-center matter-ipt">
                <div>待考核</div>
                <div><span>{$shop_2}</span> ></div>
            </div>
        </div>
        <div class="row-center matter-cell">
            <div class="row-center matter-ipt">
                <div>待审核服务商</div>
                <div><span>{$service_1}</span> ></div>
            </div>
            <div class="row-center matter-ipt">
                <div>待续签合同</div>
                <div><span>{$staff_1}</span> ></div>
            </div>
        </div>
        <div class="row-center matter-cell">
            <div class="row-center matter-ipt">
                <div>订货申请</div>
                <div><span>{$order_1}</span> ></div>
            </div>
        </div>
    </div>
    <div class="matter-box">
        <div class="tag-red">
            <i></i>
            快捷入口
        </div>
        <div class="row-center">
            <div class="quick">
                <i class="fa fa-envelope-open"></i>
                <div>运营概括</div>
            </div>
            <div class="quick">
                <i class="fa fa-user-o"></i>
                <div>财务概括</div>
            </div>
            <div class="quick">
                <i class="fa fa-user-plus"></i>
                <div>人事概括</div>
            </div>
        </div>
    </div>
</div>
<div class="row-flex">
    <div class="matter-box" style="margin-right: 30px;">
        <div class="tag-red">
            <i></i>
            最近7天订单总览
        </div>
        <div id="order" style="width: 100%; height: 300px"></div>
    </div>
    <div class="matter-box">
        <div class="tag-red">
            <i></i>
            最近7天销售额总览
        </div>
        <div id="sale" style="width: 100%; height: 300px"></div>
    </div>
</div>
<div class="row-flex">
    <div class="matter-box">
        <div class="tag-red">
            <i></i>
            最近7用户总览
        </div>
        <div class="row-bettween">
            <div id="user" style="flex:1;min-width: 500px; height: 300px"></div>
            <div class="table-box">
                <div class="table-box-th">
                    <div>总会员数</div>
                    <div>新增会员数</div>
                    <div>下单会员数</div>
                </div>
                <div class="table-box-tr">
                    <div>{$totaluser}</div>
                    <div>{$todayusersignup}</div>
                    <div>{$orderuser}</div>
                </div>
            </div>
        </div>
    </div>
</div>